package id.co.rho.scoring.cid.shared.domain;

import java.io.Serializable;

public class CriteriaObject implements Serializable{
	private static final long serialVersionUID = -3925229672878006366L;
	public static final String EQ = "EQ", LIKE = "LIKE", NE = "NE", LT = "LT", GT = "GT", LE = "LE", GE = "GE", NU = "NU", NN = "NN";
	private String className;
	private String field;
	private String operator;
	private Serializable value;
    //FRZ
    private String flagFinance;
	public CriteriaObject() {
		super();
	}
	public CriteriaObject(String className, String field, String operator,
			Serializable value) {
		super();
		this.className = className;
		this.field = field;
		this.operator = operator;
		this.value = value;
	}

    public CriteriaObject(String className, String field, String operator, Serializable value, String flagFinance) {
        super();
        this.className = className;
        this.field = field;
        this.operator = operator;
        this.value = value;
        this.flagFinance = flagFinance;
    }

    public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public Serializable getValue() {
		return value;
	}
	public void setValue(Serializable value) {
		this.value = value;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}

    public String getFlagFinance() {
        return flagFinance;
    }

    public void setFlagFinance(String flagFinance) {
        this.flagFinance = flagFinance;
    }
}
